<?php
    require_once('lib/Schedule.php');

    if (!isset($_GET['schedule_id'])) {
        print 0;
        exit;
    }
    if (!is_numeric($_GET['schedule_id'])) {
        print 0;
        exit;
    }
    
    $schedule = new Schedule($_GET['schedule_id']);
    
    if (!isset($schedule->id)) {
        print 0;
        exit;
    }
    
    var_dump($schedule);
?>
